home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / vertex / jpe.sty < prev    next >
Encoding:
Text File  |  1991-05-22  |  3.8 KB  |  128 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %     Journal of Polemical Economy style
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4.  
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6. %     Load special fonts
  7. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8.  
  9. \font\fourteenhelvB=cmssbx10 at 14pt
  10. \font\twelvehelv=cmss10 at 12pt    
  11.  
  12. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  13. %      Set pagesize
  14. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  15.  
  16. \hsize=26pc
  17. \vsize=45pc
  18. \hoffset=1in
  19. \voffset=1in
  20.  
  21. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22. %      Headline and footline
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24.  
  25. \nopagenumbers
  26. \def\rightheadline{\hbox to \hsize{{\scten\runtitle}\hfil{\folio}}}
  27. \def\leftheadline{\hbox to \hsize{\folio \hfil {\scten Journal of Polemical Economy}}}
  28. \headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}
  29.  
  30. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31. %  Define topmatter style
  32. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  33.  
  34. \let\TitleFont=\fourteenhelvB
  35. \let\AuthorFont=\twelvehelv
  36.  
  37. \def\title#1{\DoLeftTitle{#1}}
  38.  
  39. \def\author#1{\DoLeftAuthor{#1}}
  40.  
  41. \def\affil#1{\global\setbox\affilbox\hbox{\nineit\noindent #1 \hfil}}
  42.  
  43. \def\thanks#1{\global\setbox\thanksbox\hbox{\eightpoint #1}}
  44.  
  45. \def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}
  46.  
  47. \def\abstract#1{\global\setbox\abstractbox\vbox
  48.      {\eightpoint\hsize=23pc \noindent #1}}
  49.  
  50. \def\keywords#1{}
  51. \def\address#1{}
  52.  
  53.  
  54.  
  55. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  56. %  Sections and subsections
  57. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  58.  
  59. \let\SectionFont=\tenbf
  60. \RomanSectiontrue
  61.  
  62. \def\section#1\par{\DoLeftSection{#1}}
  63.  
  64. \def\subsection#1\par{\BigBreak\noindent
  65.    {\it #1}
  66.    \nobreak\medskip\noindent}
  67.  
  68. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  69. %   References
  70. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  71.  
  72. \let\RefFont=\tenpoint
  73.  
  74. \def\Refs{\vskip.5in\noindent{\tenpoint\bf References}\vskip 2pc\RefFont}
  75.  
  76. \def\SetRef{\vskip 1pt
  77.  
  78.   \ifjour\jourfalse\vbox{\HangRef
  79.      \unhbox\bybox\space ``\unhbox\paperbox .'' 
  80.      {\unhbox\jourbox } \unhbox\volbox 
  81.      \ifvoid\nobox\relax\else no. \unhbox\nobox \fi
  82.      \space (\unhbox\yrbox): \unhbox\pagesbox. \par}\fi
  83.  
  84.   \ifbook\bookfalse\par\vbox{\HangRef
  85.      \unhbox\bybox\space {\it \unhbox\bookbox}. 
  86.      \unhbox\publaddrbox : 
  87.      \unhbox\publbox , \unhbox\yrbox.\par}\fi
  88.  
  89.  \ifinbook\inbookfalse\par\vbox{\HangRef
  90.      \unhbox\bybox\space (\unhbox\yrbox) ``\unhbox\paperbox,'' in 
  91.      {\it \unhbox\bookbox}, ed. {\rm \unhbox\editorbox}.
  92.      \unhbox\publaddrbox : \unhbox\publbox \ifvoid\pagesbox\relax
  93.      \else, \unhbox\pagesbox\fi .\par}\fi
  94.  
  95.  \ifunpublished\unpublishedfalse\par\vbox{\HangRef
  96.      \unhbox\bybox\space(\unhbox\yrbox)
  97.     ``\unhbox\paperbox,'' \unhbox\paperinfobox .\par}\fi
  98. }
  99.  
  100. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  101. %  Set the paper
  102. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  103.  
  104. \def\titlehead{\hfil}
  105. \def\titlefoot{\hfil}
  106.  
  107. \def\DoTop{\Reset
  108. \line{\box\titlebox\hfil}
  109. \vskip 4.5pc
  110. \hrule
  111. \ifvoid\thanksbox\relax\else\vfootnote{}
  112.     {\eightpoint\unhbox\thanksbox\endfnote}\fi
  113. \vskip 1.1pc
  114. \line{\box\authorbox\hfil}
  115. \vskip .5pc
  116. \line{\box\affilbox\hfil}
  117. \vskip 3.5pc
  118. \line{\hfil\box\abstractbox\hfil}
  119. \vskip 3pc}
  120.  
  121. \def\topmatter{\relax}
  122. \def\endtopmatter{\DoTop}
  123. \def\document{\DoPaper\noindent}
  124. \def\DoPaper{\relax}
  125.  
  126. \tenpoint
  127. \parindent=12pt
  128. \def\footnoterule{}